// 异步loader
module.exports = function (content) {
  const callback = this.async(); // 异步loader必须使用this.async()来返回一个回调函数
  setTimeout(() => {
    console.log("loader02", content);
    callback(null, content + "//loader02");
  }, 3000);
};

// 同步loader
// module.exports = function (source) {
//   console.log("loader02", content);
//   return source + "//loader02";
// };

// module.exports.pitch = function (remainingRequest, precedingRequest, data) {
//   console.log("loader02 pitch");
//   console.log("remainingRequest", remainingRequest);
//   console.log("precedingRequest", precedingRequest);
//   console.log("data", data);
// };
